package com.jmb.apiplatform.service;

import com.jmb.apiplatform.exception.ValidException;
import com.jmb.apiplatform.pojo.ApiTestAssert;
import org.springframework.transaction.annotation.Transactional;

/**
* @author jinbo
* @description 针对表【api_test_assert】的数据库操作Service
* @createDate 2025-02-06 15:52:05
*/
public interface ApiTestAssertService  {
    @Transactional(rollbackFor = ValidException.class)
    void saveApiTestAssert(ApiTestAssert apiTestAssert) throws ValidException;
    @Transactional(rollbackFor = ValidException.class)
    void editApiTestAssert(ApiTestAssert apiTestAssert) throws ValidException;
    @Transactional(rollbackFor = ValidException.class)
    void removeAssertById(Integer assertId);
    @Transactional(rollbackFor = ValidException.class)
    void removeAssertByCaseId(Integer caseId);

}
